
<%@ page import="fleet_management.FuelConsumption" %>
<!doctype html>
<html>
	<head>
		<meta name="layout" content="main">
		<g:set var="entityName" value="${message(code: 'fuelConsumption.label', default: 'FuelConsumption')}" />
		<title><g:message code="default.show.label" args="[entityName]" /></title>
	</head>
	<body>
		<a href="#show-fuelConsumption" class="skip" tabindex="-1"><g:message code="default.link.skip.label" default="Skip to content&hellip;"/></a>
		<div class="nav" role="navigation">
			<ul>
				<li><a class="home" href="${createLink(uri: '/')}"><g:message code="default.home.label"/></a></li>
				<li><g:link class="list" action="list"><g:message code="default.list.label" args="[entityName]" /></g:link></li>
				<li><g:link class="create" action="create"><g:message code="default.new.label" args="[entityName]" /></g:link></li>
			</ul>
		</div>
		<div id="show-fuelConsumption" class="content scaffold-show" role="main">
			<h1 style="margin-left:220px; width: 850px;">Fuel Consumption Details</h1>
			<g:if test="${flash.message}">
			<div class="message" role="status">${flash.message}</div>
			</g:if>
			<ol class="property-list fuelConsumption">
			
				<g:if test="${fuelConsumptionInstance?.vehicleNumber}">
				<li class="fieldcontain">
					<span id="vehicleNumber-label" class="property-label"><g:message code="fuelConsumption.vehicleNumber.label" default="Vehicle Number" /></span>
					
						<span class="property-value" aria-labelledby="vehicleNumber-label"><g:fieldValue bean="${fuelConsumptionInstance}" field="vehicleNumber"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${fuelConsumptionInstance?.quantityRefuled}">
				<li class="fieldcontain">
					<span id="quantityRefuled-label" class="property-label"><g:message code="fuelConsumption.quantityRefuled.label" default="Quantity Refuled" /></span>
					
						<span class="property-value" aria-labelledby="quantityRefuled-label"><g:fieldValue bean="${fuelConsumptionInstance}" field="quantityRefuled"/></span>
					
				</li>
				</g:if>
				
				<g:if test="${fuelConsumptionInstance?.place}">
				<li class="fieldcontain">
					<span id="place-label" class="property-label"><g:message code="fuelConsumption.place.label" default="Place" /></span>
					
						<span class="property-value" aria-labelledby="place-label"><g:fieldValue bean="${fuelConsumptionInstance}" field="place"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${fuelConsumptionInstance?.date}">
				<li class="fieldcontain">
					<span id="date-label" class="property-label"><g:message code="fuelConsumption.date.label" default="Date" /></span>
					
						<span class="property-value" aria-labelledby="date-label"><g:formatDate format="MMMM dd, yyyy" date="${fuelConsumptionInstance?.date}" /></span>
					
				</li>
				</g:if>
			
				<g:if test="${fuelConsumptionInstance?.totalCost}">
				<li class="fieldcontain">
					<span id="totalCost-label" class="property-label"><g:message code="fuelConsumption.totalCost.label" default="Total Cost" /></span>
					
						<span class="property-value" aria-labelledby="totalCost-label"><g:fieldValue bean="${fuelConsumptionInstance}" field="totalCost"/></span>
					
				</li>
				</g:if>
				
				
				<g:if test="${fuelConsumptionInstance?.reFuledOnKM}">
				<li class="fieldcontain">
					<span id="reFuledOnKM-label" class="property-label"><g:message code="fuelConsumption.reFuledOnKM.label" default="Refule On KM" /></span>
					
						<span class="property-value" aria-labelledby="reFuledOnKM-label"><g:fieldValue bean="${fuelConsumptionInstance}" field="reFuledOnKM"/></span>
					
				</li>
				</g:if>
				
				
				<g:if test="${fuelConsumptionInstance?.driverName}">
				<li class="fieldcontain">
					<span id="driverName-label" class="property-label"><g:message code="fuelConsumption.driverName.label" default="Refule By" /></span>
					
						<span class="property-value" aria-labelledby="driverName-label"><g:fieldValue bean="${fuelConsumptionInstance}" field="driverName"/></span>
					
				</li>
				</g:if>
				
				<g:if test="${fuelConsumptionInstance?.adminRole}">
				<li class="fieldcontain">
					<span id="adminRole-label" class="property-label"><g:message code="fuelConsumption.adminRole.label" default="Region Admin" /></span>
					
						<span class="property-value" aria-labelledby="adminRole-label"><g:fieldValue bean="${fuelConsumptionInstance}" field="adminRole"/></span>
				</li>
				</g:if>
			
			</ol>
			<g:form>
				<fieldset class="buttons">
					<g:hiddenField name="id" value="${fuelConsumptionInstance?.id}" />
					<g:link class="edit" action="edit" id="${fuelConsumptionInstance?.id}"><g:message code="default.button.edit.label" default="Edit" /></g:link>
					<g:actionSubmit class="delete" action="delete" value="${message(code: 'default.button.delete.label', default: 'Delete')}" onclick="return confirm('${message(code: 'default.button.delete.confirm.message', default: 'Are you sure?')}');" />
				</fieldset>
			</g:form>
		</div>
	</body>
</html>
